//
//  DetailActivity.m
//  Jingjing
//
//  Created by user on 15/11/20.
//  Copyright © 2015年 Mikeshihua. All rights reserved.
//

#import "DetailActivity.h"

@implementation DetailActivity
- (instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if(self)
    {
        if(dictionary)
        {
            self.activitiesId = [dictionary objectForKey:@"activitiesId"];
            self.address = [dictionary objectForKey:@"address"];
            self.avgScore = [dictionary objectForKey:@"avgScore"];
            self.beginTime = [dictionary objectForKey:@"beginTime"];
            self.endTime = [dictionary objectForKey:@"endTime"];
            self.imgUrl = [dictionary objectForKey:@"imgUrl"];
            self.title = [dictionary objectForKey:@"title"];
            self.valid = [dictionary objectForKey:@"valid"];
            self.content = [dictionary objectForKey:@"content"];
            self.activityTime = [dictionary objectForKey:@"activityTime"];
        }
    }
    return self;
}
@end
